import os,sys,random,pygame,math
from pygame.locals import *
import cPickle as pickle

f = open('data/options/fullscreen.plun','r')
fullscreen = int(f.read())
f.close()
s = open('data/options/screensize.plun','r')
size = int(s.read())
s.close()
if size == 800:
    size = (800,600)
elif size == 1024:
    size = (1024,768)
if fullscreen==0:
    screen=pygame.display.set_mode(size)
elif fullscreen==1:
    screen=pygame.display.set_mode(size,pygame.FULLSCREEN)
